package com.tuling.start;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author LuHuanCheng
 * 类说明：
 */
public class MainStart {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(MainConfig.class);
        TuLingBean bean = applicationContext.getBean(TuLingBean.class);
        System.out.println(bean);
        applicationContext.close();
    }
}